package ocean.chinacraft.client;

import net.minecraft.client.renderer.RenderType;
import net.minecraft.client.renderer.RenderTypeLookup;
import ocean.chinacraft.common.ModBlocks;

/**
 * 方块渲染注册
 *
 * @author zhang
 * @since 2021/12/27
 */
public class ModRender {

    public static void renderTypeLook() {
        RenderTypeLookup.setRenderLayer(ModBlocks.RICES_EAR.get(), RenderType.cutout());

        RenderTypeLookup.setRenderLayer(ModBlocks.AZALEA.get(), RenderType.cutout());
        RenderTypeLookup.setRenderLayer(ModBlocks.PEONY.get(), RenderType.cutout());
        RenderTypeLookup.setRenderLayer(ModBlocks.CHRYSANTHEMUM.get(), RenderType.cutout());

        RenderTypeLookup.setRenderLayer(ModBlocks.MULBERRY_LEAVES.get(), RenderType.cutout());
        RenderTypeLookup.setRenderLayer(ModBlocks.MULBERRY_SAPLING.get(), RenderType.cutout());

        RenderTypeLookup.setRenderLayer(ModBlocks.WOOD_WINDOW.get(), RenderType.translucent());
        RenderTypeLookup.setRenderLayer(ModBlocks.WOOD_WINDOW2.get(), RenderType.translucent());
        RenderTypeLookup.setRenderLayer(ModBlocks.WOOD_WINDOW3.get(), RenderType.translucent());
        RenderTypeLookup.setRenderLayer(ModBlocks.WOOD_WINDOW4.get(), RenderType.translucent());
        RenderTypeLookup.setRenderLayer(ModBlocks.WOOD_WINDOW_DRAGON.get(), RenderType.translucent());
        RenderTypeLookup.setRenderLayer(ModBlocks.WOOD_WINDOW_FU.get(), RenderType.translucent());

        RenderTypeLookup.setRenderLayer(ModBlocks.PEELED_BAMBOO_WINDOW.get(), RenderType.translucent());
        RenderTypeLookup.setRenderLayer(ModBlocks.PEELED_BAMBOO_WINDOW2.get(), RenderType.translucent());
        RenderTypeLookup.setRenderLayer(ModBlocks.PEELED_BAMBOO_WINDOW3.get(), RenderType.translucent());

        RenderTypeLookup.setRenderLayer(ModBlocks.LIGHTNING_BAMBOO_SAPLING.get(), RenderType.cutout());
    }
}
